package com.core.entities;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * The persistent class for the ADMIN_USER_T database table.
 * 
 */
@Entity
@Table(name = "ADMIN_USER_T", schema = "CORE")
public class AdminUserT implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "OBJECT_ID", unique = true, nullable = false, precision = 25)
	private long objectId;

	@Column(name = "APPLICATION_OID", nullable = false, precision = 25)
	private BigDecimal applicationOid;

	@Column(name = "DATE_CHANGED")
	private Date dateChanged;

	@Column(name = "DATE_CREATED")
	private Date dateCreated;

	@Column(name = "EMAIL_ADDRESS", nullable = false)
	private String emailAddress;

	@Column(name = "PASSWORD", nullable = false)
	private String password;

	@Column(name = "ROW_CHANGED_BY")
	private String rowChangedBy;

	@Column(name = "ROW_CREATED_BY")
	private String rowCreatedBy;

	@Column(name = "USERNAME", nullable = false)
	private String username;

	public AdminUserT() {
	}

	public long getObjectId() {
		return objectId;
	}

	public void setObjectId(long objectId) {
		this.objectId = objectId;
	}

	public BigDecimal getApplicationOid() {
		return applicationOid;
	}

	public void setApplicationOid(BigDecimal applicationOid) {
		this.applicationOid = applicationOid;
	}

	public Date getDateChanged() {
		return dateChanged;
	}

	public void setDateChanged(Date dateChanged) {
		this.dateChanged = dateChanged;
	}

	public Date getDateCreated() {
		return dateCreated;
	}

	public void setDateCreated(Date dateCreated) {
		this.dateCreated = dateCreated;
	}

	public String getEmailAddress() {
		return emailAddress;
	}

	public void setEmailAddress(String emailAddress) {
		this.emailAddress = emailAddress;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getRowChangedBy() {
		return rowChangedBy;
	}

	public void setRowChangedBy(String rowChangedBy) {
		this.rowChangedBy = rowChangedBy;
	}

	public String getRowCreatedBy() {
		return rowCreatedBy;
	}

	public void setRowCreatedBy(String rowCreatedBy) {
		this.rowCreatedBy = rowCreatedBy;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

}